<template>
    <div>商品</div>
</template>
<script>
export default {
    created(){
        console.log("商品")
    },
    activated(){
        console.log("activated");
    },
    deactivated(){
        console.log("deactivated")
    },
    beforeDestroy(){
        console.log("商品销毁前");
        this.$bus.$emit('data','data');
    },
    destroyed(){
        console.log("商品销毁完毕")
    }
}
</script>
